\hypertarget{class_drive_subsystem}{
\section{DriveSubsystem Class Reference}
\label{class_drive_subsystem}\index{DriveSubsystem@{DriveSubsystem}}
}


{\ttfamily \#include $<$DriveSubsystem.hpp$>$}

Inheritance diagram for DriveSubsystem:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{class_drive_subsystem}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_drive_subsystem_adbbe91a7fd62cf12702601070d50b6eb}{ControlMode} \{ \par
{\bfseries ControlModePercentVBus} =  CANJaguar::kPercentVbus, 
{\bfseries ControlModeSpeed} =  CANJaguar::kSpeed, 
{\bfseries ControlModeDistance} =  CANJaguar::kPosition, 
{\bfseries ControlModeVoltage} =  CANJaguar::kVoltage, 
\par
{\bfseries ControlModeCurrent} =  CANJaguar::kCurrent
 \}
\item 
enum \hyperlink{class_drive_subsystem_a8bf21977a6b2911139200f2d2c32871a}{SpeedReference} \{ {\bfseries SpeedReferenceNothing} =  CANJaguar::kSpeedRef\_\-None, 
{\bfseries SpeedReferenceEncoder} =  CANJaguar::kSpeedRef\_\-Encoder, 
{\bfseries SpeedReferenceInvertedEncoder} =  CANJaguar::kSpeedRef\_\-InvEncoder, 
{\bfseries SpeedReferenceQuadEncoder} =  CANJaguar::kSpeedRef\_\-QuadEncoder
 \}
\item 
enum \hyperlink{class_drive_subsystem_ad4cb48ca262f5befda36fb53263843d7}{DistanceReference} \{ {\bfseries DistanceReferenceNothing} =  CANJaguar::kPosRef\_\-None, 
{\bfseries DistanceReferenceQuadEncoder} =  CANJaguar::kPosRef\_\-QuadEncoder, 
{\bfseries DistanceReferencePotentiometer} =  CANJaguar::kPosRef\_\-Potentiometer
 \}
\item 
enum \hyperlink{class_drive_subsystem_ace82b46d96fe6a96f39a564e303de261}{NeutralMode} \{ {\bfseries NeutralModeJumper} =  CANJaguar::kNeutralMode\_\-Jumper, 
{\bfseries NeutralModeBrake} =  CANJaguar::kNeutralMode\_\-Brake, 
{\bfseries NeutralModeCoast} =  CANJaguar::kNeutralMode\_\-Coast
 \}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{class_drive_subsystem}{DriveSubsystem} class is a base class for all drive subsystems. This class can not be used by itself. 

\subsection{Member Enumeration Documentation}
\hypertarget{class_drive_subsystem_adbbe91a7fd62cf12702601070d50b6eb}{
\index{DriveSubsystem@{DriveSubsystem}!ControlMode@{ControlMode}}
\index{ControlMode@{ControlMode}!DriveSubsystem@{DriveSubsystem}}
\subsubsection[{ControlMode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DriveSubsystem::ControlMode}}}
\label{class_drive_subsystem_adbbe91a7fd62cf12702601070d50b6eb}
The ControlMode enum is currently used only for CANJaguar control modes.

We hope in the future to support different modes given only normal motor controllers and corresponding encoders. \hypertarget{class_drive_subsystem_ad4cb48ca262f5befda36fb53263843d7}{
\index{DriveSubsystem@{DriveSubsystem}!DistanceReference@{DistanceReference}}
\index{DistanceReference@{DistanceReference}!DriveSubsystem@{DriveSubsystem}}
\subsubsection[{DistanceReference}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DriveSubsystem::DistanceReference}}}
\label{class_drive_subsystem_ad4cb48ca262f5befda36fb53263843d7}
The DistanceReference enum is currently used only for CANJaguar position modes.

We hope in the future to support different modes given only normal motor controllers and corresponding encoders. \hypertarget{class_drive_subsystem_ace82b46d96fe6a96f39a564e303de261}{
\index{DriveSubsystem@{DriveSubsystem}!NeutralMode@{NeutralMode}}
\index{NeutralMode@{NeutralMode}!DriveSubsystem@{DriveSubsystem}}
\subsubsection[{NeutralMode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DriveSubsystem::NeutralMode}}}
\label{class_drive_subsystem_ace82b46d96fe6a96f39a564e303de261}
The NeutralMode enum is currently used only for CANJaguar neutral modes.

We hope in the future to support different modes given only normal motor controllers. \hypertarget{class_drive_subsystem_a8bf21977a6b2911139200f2d2c32871a}{
\index{DriveSubsystem@{DriveSubsystem}!SpeedReference@{SpeedReference}}
\index{SpeedReference@{SpeedReference}!DriveSubsystem@{DriveSubsystem}}
\subsubsection[{SpeedReference}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DriveSubsystem::SpeedReference}}}
\label{class_drive_subsystem_a8bf21977a6b2911139200f2d2c32871a}
The SpeedReference enum is currently used only for CANJaguar speed modes.

We hope in the future to support different modes given only normal motor controllers and corresponding encoders. 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/Documents and Settings/Sam/My Documents/My Projects/Entech-\/Fpk/Entech-\/Fpk/DriveSubsystem.hpp\end{DoxyCompactItemize}
